package com.example.hostsys.dao;

import com.example.hostsys.entity.House;
import com.example.hostsys.entity.HousePics;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HousePicDao extends JpaRepository<HousePics,Integer> {
    List<HousePics> findAllByHouseOrderByUrl(House house);
}
